<template>
  <div>
    <el-table height="300px" :data="tableData" border style="width: 100%;font-size: 13px;">
             <el-table-column fixed prop="" label="" width="50">
             </el-table-column>
          
           <el-table-column prop="name" label="源单编号" width="120">
           </el-table-column>
           <el-table-column prop="province" label="业务类别" width="120">
           </el-table-column>
           <el-table-column fixed prop="date" label="单据日期" width="150">
        </el-table-column>
           <el-table-column prop="city" label="单据金额" width="120">
           </el-table-column>
           <el-table-column prop="address" label="已核销金额" width="120">
           </el-table-column>
           <el-table-column prop="zip" label="未核销金额" width="120">
           </el-table-column>
           <el-table-column prop="city" label="源单备注" width="120">
           
           </el-table-column>
           <el-table-column prop="address" label="本次核销金额" width="130">
            <el-input style="width: 130px;margin-left: 10px;margin-right: 20px;" placeholder="本次核销金额" v-model="input"
           clearable>
         </el-input>
           </el-table-column>
        <el-table-column prop="zip" label="备注" width="200">
            <el-input style="width: 130px;margin-left: 10px;margin-right: 20px;" placeholder="备注" v-model="input"
           clearable>
         </el-input>
        </el-table-column>
         </el-table>
         <div style="width: 100%;background-color: blanchedalmond;height: 30px;">
        <table  style="width: 78.7%;height: 30px;">
          <tr>
            <td style="width: 50%;">合计：</td>
            <td style="width: 50%;">123</td>
          </tr>
        </table>
      </div>
  </div>
</template>

<script>
export default {
    name:'Top',
    data() {
    return {
        gridData: [{
          date: '2016-05-02',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }, {
          date: '2016-05-04',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }, {
          date: '2016-05-01',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }, {
          date: '2016-05-03',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }],
        pickerOptions: {
          disabledDate(time) {
            return time.getTime() > Date.now();
          },
          shortcuts: [{
            text: '今天',
            onClick(picker) {
              picker.$emit('pick', new Date());
            }
          }, {
            text: '昨天',
            onClick(picker) {
              const date = new Date();
              date.setTime(date.getTime() - 3600 * 1000 * 24);
              picker.$emit('pick', date);
            }
          }, {
            text: '一周前',
            onClick(picker) {
              const date = new Date();
              date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
              picker.$emit('pick', date);
            }
          }]
        },
          tableData: [{
        date: '2016-05-02',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: '200333'
      }, {
        date: '2016-05-04',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1517 弄',
        zip: '200333'
      }, {
        date: '2016-05-01',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1519 弄',
        zip: '200333'
      }, {
        date: '2016-05-03',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1516 弄',
        zip: '200333'
      }],
        
        value1: '',
        value2: '',
      };
    }
}
</script>

<style>

</style>